package com.nanyang.tms.api.dto.response.receipt;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ReceiptBillDetailResponse implements Serializable {

    private static final long serialVersionUID = 1592900054717108277L;

    /**
     * 收货单编码
     */
    private String receiptCode;

    /**
     * 服务商单号
     */
    private String supplierNo;

    /**
     * 客户单号
     */
    private String customerNo;
    /**
     * 运单编码
     */
    private String waybillCode;
    /**
     * 目的国家
     */
    private String countyName;
    /**
     * 总件数
     */
    private Integer totalNum;
    /**
     * 收货实际重
     */
    private BigDecimal receiptTotalWeight;
    /**
     * 收货材积重
     */
    private BigDecimal receiptTotalVolumeWeight;
    /**
     * 收货计费重
     */
    private BigDecimal receiptTotalChargeWeight;
    /**
     * 运输方式（销售产品名称）
     */
    private String saleProductName;
    /**
     * 收货类型名称
     */
    private String receiptCargoTypeName;
    /**
     * 收货时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date receiptGmtCreate;

    /**
     * 出货实际重
     */
    private BigDecimal shipmentTotalWeight;
    /**
     * 出货材积重
     */
    private BigDecimal shipmentTotalVolumeWeight;
    /**
     * 出货计费重
     */
    private BigDecimal shipmentTotalChargeWeight;

    /**
     * 出货类型名称
     */
    private String shipmentCargoTypeName;
    /**
     * 服务商产品名称
     */
    private String productName;
    /**
     * 出货时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date shipmentGmtCreate;
    private BigDecimal solveChargeWeight;
    private BigDecimal solveWeight;
    private BigDecimal solveVolumeWeight;
}
